<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Mr.UBKey
 * Date: 30/10/2011
 * Time: 14:39
 * To change this template use File | Settings | File Templates.
 */
class Page_IndexController extends XPHP_Controller
{
    public function indexAction()
    {
        //Mã trang
        $page = $this->params[0];
        //Lấy ra thông tin trang hiện tại
        $model = new Areas_Page_Models_Page($page);
        //load layout
        $this->loadLayout('/VietTrung_Home');
        //Trả về view
        return $this->view($model);
    }
}
